package cn.iocoder.yudao.module.wms.controller.admin.stockserial.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 库存序列号分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class StockSerialPageReqVO extends PageParam {

    @Schema(description = "产品", example = "19131")
    private Long productId;

    @Schema(description = "仓库", example = "22059")
    private Long warehouseId;

    @Schema(description = "库位", example = "20299")
    private Long positionId;

    @Schema(description = "序列号")
    private String serialNo;

    @Schema(description = "入库单据性质", example = "16281")
    private Long inDocId;

    @Schema(description = "入库单号")
    private String inDocCode;

    @Schema(description = "出库单据性质", example = "1866")
    private Long outDocId;

    @Schema(description = "出库单号")
    private String outDocCode;

    @Schema(description = "入库标识")
    private Integer inFlag;

    @Schema(description = "出库标识")
    private Integer outFlag;

    @Schema(description = "库存明细表关联", example = "29045")
    private Long stockDetailId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}